package com.ban.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author Ban
 * @version 1.0
 * Create by 2022/1/16 16:44
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "------fallback -----   太惨了，降级了";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "------fallback -----   太惨了，降级了";
    }
}
